﻿using ABlog.Domain.Entity.Foundation;

namespace ABlog.Domain.Entity
{
    /// <summary>
    /// 人物
    /// </summary>
    public partial class PersonEntity : FullAudited
    {
        /// <summary>
        /// 人物名称
        /// </summary>
        public string PersonName { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Describe { get; set; }

        /// <summary>
        /// 国家Guid
        /// </summary>
        public string CountryGuid { get; set; }

        /// <summary>
        /// 封面
        /// </summary>
        public string Cover { get; set; }

        /// <summary>
        /// 类型Guid
        /// </summary>
        public string TypeGuid { get; set; }

        /// <summary>
        /// 影片数量
        /// </summary>
        public int Count { get; set; }
    }

    /// <summary>
    /// 人物
    /// </summary>
    public partial class PersonEntity 
    {
        public PersonEntity() { }

        public PersonEntity(string id, string name, string descrive, string countryGuid, string cover, string typeGuid) : base(id)
        {
            PersonName = name;
            Describe = descrive;
            CountryGuid = countryGuid;
            Cover = cover;
            TypeGuid = typeGuid;
            Count = 0;
        }
    }
}
